package pl.lodz.p.model.enums;

public enum Gender {
	
	MALE("Mezczyzna"),
	FEMALE("Kobieta");
	
	private String label;

    private Gender(String label) {
        this.label = label;
    }

    public String getLabel() {
        return label;
    }
    
	@Override
	public String toString() {
		return label;
	}
	
	public int isMale(){
		return this.equals(MALE) ? 0 : 1;
	}
}
